package com.ljh.onlinetest.service.impl;

import com.ljh.onlinetest.configuration.property.SystemConfig;
import com.ljh.onlinetest.service.FileUpload;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.InputStream;

/**
 * @author ljh
 * @ClassName FileUploadImpl.java
 * @createTime 2022年02月22日
 */
@Service
public class FileUploadImpl implements FileUpload {
    private final Logger logger = LoggerFactory.getLogger(FileUpload.class);
    private final SystemConfig systemConfig;

    @Autowired
    public FileUploadImpl(SystemConfig systemConfig) {
        this.systemConfig = systemConfig;
    }

    @Override
    public String uploadFile(InputStream inputStream, long size, String extName) {
        return null;
    }
}
